<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/faxian.css"/>
	</head>
	<body>
		<div id="web">
			<!--头部-->
			<header class="clearfix">
				<div class="menu">
					<a href="#" class="fl">Back</a>
					<div class="selectBar fr">
						<select name="">
							<option value="">广州</option>
							<option value="">深圳</option>
						</select>
					</div>
					<p>发现</p>					
				</div>
				<div class="search">
					<input type="text" name="" id="" value="" placeholder="请输入商品名称"/>
					<i class="iconfont icon-search"></i>
				</div>	
			</header>
			<!--滚动部分-->
			<div class="session">
				<div class="fenlei">
					<span>大家都在搜</span>
					<div class="list">
						<ul class="clearfix">
							<li class="fl"><a href="#">寿司</a></li>
							<li class="fl"><a href="#">羽毛球</a></li>
							<li class="fl"><a href="#">火锅</a></li>
							<li class="fl"><a href="#">游泳馆</a></li>
							<li class="fl"><a href="#">电影</a></li>
							<li class="fl"><a href="#">周黑鸭</a></li>
							<li class="fl"><a href="#">KTV</a></li>
							<li class="fl"><a href="#">肯德基</a></li>
						</ul>
					</div>
				</div>
				<div class="hotSearch">
						<div class="head">
							<i class="iconfont icon-remen"></i>
							<p>热门搜索</p>
							<div class="more">
								<a href="#">更多</a>
								<i class="iconfont icon-more-br"></i>
							</div>
						</div>
						<div class="content clearfix">
							<div class="left fl">
								<img src="img/bigfood.jpg"/>
							</div>
							<div class="right fr">
								<div class="right_top">
									<img src="img/egg.jpg"/>
								</div>
								<div class="right_bottom clearfix">
									<div class="right_bottom_left fl">
										<img src="img/shousi1.jpg"/>
									</div>
									<div class="right_bottom_right fr">
										<img src="img/shousi2.jpg"/>
									</div>
								</div>
							</div>
						</div>
				</div>
				<div class="recommendedSearch">
					<div class="head">
						<i class="iconfont icon-xing"></i>
						<p>推荐搜索</p>
						<div class="more">
							<a href="#">更多</a>
							<i class="iconfont icon-more-br"></i>
						</div>
					</div>
					<div class="content clearfix">
						<div class="imgBox fl">
							<img src="img/duck2.jpg"/>
						</div>
						<div class="imgBox fl">
							<img src="img/sp5.jpg"/>
						</div>
						<div class="imgBox fl">
							<img src="img/movie3.jpg"/>
						</div>
					</div>
				</div>
			</div>
			<!--底部-->
			<footer>
				<ul>
					<li class="fl">
						<a href="index.html">
							<i class="iconfont icon-weibiaoti1"></i>
							<p>首页</p>
						</a>
					</li>
					<li class="fl">
						<a href="fenlei.html">
						<i class="iconfont icon-leimupinleifenleileibie2"></i>
						<p>分类</p>
						</a>
					</li>
					<li class="fl">
						<a href="faxian.html">
							<i class="iconfont icon-faxian footerActivity"></i>
							<p>发现</p>
						</a>
					</li>
					<li class="fl">
						<a href="user.html">
							<i class="iconfont icon-weibiaoti-_huabanfuben"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
		
		<!--自动计算根字体大小的脚本-->
		<script>
    
        
			//安卓的输入法虚拟键盘会影响Body的高度，所以在加载时，将body的原本高度给固定住
			document.body.style.height = window.innerHeight + "px";
			
	        /*动态改变根元素字体大小*/
	        function recalc() {
	            var clientWidth = document.documentElement.clientWidth;
	            if(!clientWidth) return;
	            document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
	                                        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
	        }
	
	        function initRecalc() {
	            recalc();
	            var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
	            if(!document.addEventListener) return;
	            window.addEventListener(resizeEvt, recalc, false);
	            document.addEventListener('DOMContentLoaded', recalc, false);
	        }
	        initRecalc();
	    
	    
	    
	    </script>
	</body>
</html>
